home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / accounts / adduser.000 / adduser / adduser.shadow.1.5 / Makefile < prev    next >
Makefile  |  1996-05-10  |  556b  |  29 lines

  1.  
  2. CC=gcc
  3. LD=gcc
  4. RM=rm -f
  5. CFLAGS=-O2 -m486 -pipe
  6. #
  7. # I prefer CFLAGS= -O -pipe
  8. #
  9. adduser:
  10.     $(CC) $(CFLAGS) -o adduser.o -c adduser.c
  11.     $(LD) -s adduser.o -o adduser-1.5
  12.  
  13. install:
  14.     cp adduser-1.5 /sbin/adduser
  15.     ln -sf /sbin/adduser /usr/sbin/adduser
  16.     ln -sf /sbin/adduser /usr/bin/adduser
  17.     @echo "Adduser-Shadow 1.5 now installed"
  18.  
  19. nocrypt: xfdes.o
  20.     $(CC) $(CFLAGS) -o adduser.o -c adduser.c
  21.     $(LD) -s adduser.o xfdes.o -o adduser-1.5
  22. clean:
  23.     $(RM) adduser.o xfdes.o adduser-1.5 core *~
  24.  
  25. dist: clean
  26.     cd ..
  27.     tar -cvf /tmp/adduser.tar ./
  28.     gzip /tmp/adduser.tar
  29.